#include "setFlags.h"
#include <netinet/tcp.h>
void synPortScan(struct tcphdr *tcpHeader){
    tcpHeader->syn = 1;
}

void ackPortScan(struct tcphdr *tcpHeader){
    tcpHeader->ack = 1;
}

void nullPortScan(struct tcphdr *tcpHeader){

}

void finPortScan(struct tcphdr *tcpHeader){
    tcpHeader->fin = 1;
}

void xmasPortScan(struct tcphdr *tcpHeader){
    tcpHeader->syn = 1;
    tcpHeader->ack = 1;
    tcpHeader->fin = 1;
    tcpHeader->rst = 1;
    tcpHeader->psh = 1;
    tcpHeader->urg = 1;
}

void syn_ackPortScan(struct tcphdr *tcpHeader){
    tcpHeader->syn = 1;
    tcpHeader->ack = 1;
}